export * from './rect.js';//继承模块 export *表示导出模块中的所有方法和属性
export let pi=3.1415;
export default function (weight,height){
    let m=2*(weight+height);
    return m;
}